* {
    color: rgb(241, 75, 102);
    //  margin: 0;
    //  padding: 0;
}

body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

@mixin a_css {
    display: block;
    height: 45px;
    color: rgba(16, 217, 253, 0.335);
    text-shadow: 1px 1px pink;
    text-decoration: none;
    line-height: 45px;
}

.body {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;

    .addBox-back {
        display: none;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(135, 207, 235, 0.431);
        z-index: 99;

        .addBox {
            width: 444px;
            height: 388px;
            background-color: pink;
            position: absolute;
            border: 1px solid salmon;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 200;

            h2 {
                text-align: center;
            }

            .food-name {
                margin-top: 20px;
            }

            div {
                margin-bottom: 30px;
                position: relative;

                span {
                    margin-left: 20px;
                }

                input {
                    position: absolute;
                    left: 100px;
                    width: 250px;
                    height: 25px;
                    outline: none;
                    border: none;
                    padding-left: 10px;
                    white-space: nowrap;
                    text-overflow: ellipsis;

                }
            }

            .yes {
                width: 100px;
                height: 44px;
                margin-bottom: 0;
                background-color: wheat;
                border-radius: 10px;
                position: absolute;
                bottom: 12px;
                left: 44px;
                text-align: center;
                line-height: 44px;
                cursor: pointer;
            }

            .no {
                width: 100px;
                height: 44px;
                margin-bottom: 0;
                background-color: wheat;
                border-radius: 10px;
                position: absolute;
                bottom: 12px;
                right: 44px;
                text-align: center;
                line-height: 44px;
                cursor: pointer;
            }
        }
    }

    // 修改盒子 开始
    .editBox-back {
        display: none;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(135, 207, 235, 0.431);
        z-index: 99;

        .editBox {
            width: 444px;
            height: 388px;
            background-color: pink;
            position: absolute;
            border: 1px solid salmon;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 200;

            h2 {
                text-align: center;
            }

            .efood-name {
                margin-top: 20px;
            }

            div {
                margin-bottom: 30px;
                position: relative;

                span {
                    margin-left: 20px;
                }

                input {
                    position: absolute;
                    left: 100px;
                    width: 250px;
                    height: 25px;
                    outline: none;
                    border: none;
                    padding-left: 10px;
                    white-space: nowrap;
                    text-overflow: ellipsis;

                }
            }

            .eyes {
                width: 100px;
                height: 44px;
                margin-bottom: 0;
                background-color: wheat;
                border-radius: 10px;
                position: absolute;
                bottom: 12px;
                left: 44px;
                text-align: center;
                line-height: 44px;
                cursor: pointer;
            }

            .eno {
                width: 100px;
                height: 44px;
                margin-bottom: 0;
                background-color: wheat;
                border-radius: 10px;
                position: absolute;
                bottom: 12px;
                right: 44px;
                text-align: center;
                line-height: 44px;
                cursor: pointer;
            }
        }
    }

    // 修改盒子 结束
    //    .main-first{
    //        width: 100%;
    //        height: 100%;
    //        position: relative;
    .header {
        width: 100%;
        height: 100px;
        background-color: rgb(238, 110, 132);
        display: flex;
        border-bottom: 2px solid rgb(184, 102, 115);

        .logo {
            position: relative;
            float: right;
            flex: 70%;
            min-width: 300px;
            padding-left: 20px;
            padding-top: 20px;
            height: 70px;

            a {
                position: absolute;
                right: 170px;
                display: block;
                width: 200px;
                text-decoration: none;
                font-size: 30px;
                font-weight: 800;
                color: aquamarine;
                line-height: 45px;
            }
        }

        .header-right {
            display: flex;
            flex: 30%;
            height: 46px;
            padding: 0 20px;
            margin-top: 25px;
            float: left;
            position: relative;
            list-style: none;

            .header-user {
                flex: 50%;
                height: 45px;

                a {
                    @include a_css;
                    width: 219px;
                }
            }

            .header-welcome {

                flex: 25%;
                height: 45px;

                a {
                    width: 120px;
                    @include a_css;
                }
            }

            .quit {

                flex: 25%;
                height: 45px;

                a {
                    width: 120px;
                    @include a_css;
                }
            }
        }
    }

    // 中部开始
    //   左侧菜单开始
    .left-nav {
        position: absolute;
        top: 100px;
        left: 0;
        width: 13%;
        height: 666px;
        margin-top: 2px;
        padding-top: 10px;
        border-right: 2px solid rgb(184, 103, 116);
        background-color: pink;

        .left-navx {
            width: 200px;
            height: 666px;

            .personal_information {
                display: block;
                width: 100%;
                height: 66px;
                font-size: 20px;
                font-weight: bolder;
                text-align: center;
                line-height: 66px;
                background-color: wheat;
                border-top: 2px solid burlywood;
                border-bottom: 2px solid burlywood;
            }
        }
    }

    //   左侧菜单结束
    // 中部结束
    // 右部开始
    .page-content {
        // display: none;
        position: absolute;
        top: 100px;
        margin-top: 2px;
        right: 0;
        width: 87%;
        height: 666px;
        background-color: rgba(255, 192, 203, 0.452);

        // 右侧标题 开始
        .tab-title {
            position: absolute;
            top: 0;
            left: 2px;
            width: 100%;
            height: 88px;
            background-color: rgb(236, 150, 165);
            border-bottom: 2px solid rgb(184, 102, 115);

            h2 {
                margin: 0;
                padding: 0;
                padding-left: 20px;
                line-height: 88px;
                color: bisque;
            }
        }

        // 右侧标题 结束
        // ！！！！
        section {
            position: absolute;
            top: 90px;
            left: 2px;
            width: 100%;
            height: 566px;

            // 收索菜品模块 开始
            .search {
                // display: none;
                width: 300px;
                height: 30px;
                background-color: aliceblue;
                border: 2px solid salmon;
                position: absolute;
                top: -38px;
                left: 670px;

                input {
                    width: 252px;
                    height: 30px;
                    padding: 0;
                    padding-left: 8px;
                    outline: none;
                    border: none;
                    float: left;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                }

                .search-btn {
                    float: right;
                    width: 40px;
                    height: 30px;
                    border: 0;
                    text-align: center;
                    line-height: 32px;
                    background-color: palevioletred;
                    color: bisque;
                    cursor: pointer;
                }
            }

            // 收索菜品模块 结束
            // 菜品导航栏 开始
            .right-nav {
                position: absolute;
                right: 0;
                top: 0;
                width: 13%;
                height: 100%;
                background-color: rgba(240, 44, 77, 0.452);
                border-left: 2px solid rgb(184, 102, 115);

                ul {
                    position: relative;
                    list-style: none;
                    margin: 0;
                    padding: 0;

                    li {
                        cursor: pointer;
                        width: 170px;
                        height: 30px;
                        font-weight: bold;
                        color: rgb(240, 49, 81);
                        //  margin-bottom: 10px;
                        background-color: wheat;
                        text-align: left;
                        line-height: 30px;
                        border-bottom: 2px solid rgba(5, 51, 104, 0.904);
                    }
                }
            }

            // 菜品导航栏 结束
            //  表单开始
            .main {
                width: 1080px;
                height: 100%;
                padding: 15px 10px 10px 10px;

                // background-color: yellow;
                #form {
                    position: relative;
                    width: 1100px;
                    height: 80%;
                    padding: 20px 0 0 23px;

                    // background-color: whitesmoke;
                    // box-shadow: 2px 2px 5px pink;
                    table {
                        border-collapse: collapse;
                        overflow: auto;

                        tr {
                            position: relative;

                            .remove {
                                display: inline-block;
                                position: absolute;
                                background-color: aqua;
                                top: 0px;
                                right: 0px;
                            }

                            .id {
                                background-color: rgba(255, 192, 203, 0.24);
                                // display: none;
                                // width: 15px;
                                // height: 15px;
                            }

                            .determine {
                                width: 66px;
                                position: absolute;
                                top: 0px;
                                right: -68px;
                                background-color: pink;
                                display: none;
                            }

                            td {

                                .edit {
                                    cursor: pointer;
                                    width: 45px;
                                    height: 30px;
                                    display: inline-block;

                                }

                                .check {
                                    position: absolute;
                                    top: 5px;
                                    left: -25px;
                                    width: 15px;
                                    height: 15px;
                                    display: none;
                                }

                                position: relative;
                                text-align: center;
                                line-height: 30px;
                                width: 150px;
                                height: 30px;
                                background-color: rgba(98, 0, 128, 0.144);

                                input {
                                    text-align: center;
                                    line-height: 30px;
                                    width: 150px;
                                    height: 30px;
                                    outline: none;
                                    border: none;
                                    color: black;
                                    font-size: 16px;
                                    white-space: nowrap;
                                    text-overflow: ellipsis;

                                    &::-webkit-input-placeholder {
                                        color: black;
                                    }

                                }
                            }
                        }

                    }
                }

                .page {
                    position: absolute;
                    width: 220px;
                    height: 35px;
                    background-color: rgb(235, 212, 216);
                    bottom: 16px;
                    right: 10px;
                    text-align: center;
                    line-height: 35px;

                    .p-l {
                        width: 44px;
                        height: 35px;
                        float: left;
                        font-size: 28px;
                        font-weight: bolder;
                        background-color: pink;
                        text-align: center;
                        line-height: 35px;
                        cursor: pointer;
                    }

                    .p-r {
                        width: 44px;
                        height: 35px;
                        float: right;
                        font-size: 28px;
                        font-weight: bolder;
                        background-color: pink;
                        text-align: center;
                        line-height: 35px;
                        cursor: pointer;
                    }

                    span {
                        display: inline-block;
                        width: 50px;
                        height: 35px;
                        outline: none;
                        text-align: center;
                        line-height: 35px;
                        font-weight: bolder;
                    }
                }
            }

            // 表单结束
        }

        // ！！！！
    }

    // 右部结束
    // }
    //个人中心 开始
    .page-content_user {
        display: none;
        position: absolute;
        top: 100px;
        margin-top: 2px;
        right: 0px;
        width: 87%;
        height: 666px;

        .page-content_user_x {
            width: 100%;
            height: 666px;
            padding: 120px 20px 20px 20px;
            background-color: wheat;
            border-left: 2px solid salmon;

            .user-title {
                position: absolute;
                top: 0;
                left: 2px;
                width: 100%;
                height: 88px;
                background-color: rgb(236, 150, 165);
                border-bottom: 2px solid rgb(184, 102, 115);

                h2 {
                    margin: 0;
                    padding: 0;
                    padding-left: 20px;
                    line-height: 88px;
                    color: bisque;
                }
            }

            form {
                width: 97%;
                height: 660px;

                // background-color:rgba(255, 192, 203, 0.623);
                div {
                    width: 90%;
                    height: 64px;
                    margin-bottom: 15px;

                    // background-color:whitesmoke;
                    label {
                        width: 42px;
                        height: 21px;
                        margin-bottom: 5px;
                        font-weight: 700;
                        font-size: 14px;
                        line-height: 21px;
                    }

                    input {
                        width: 100%;
                        height: 26px;
                        padding: 5px 12px 5px 12px;
                        border: 1px solid salmon;
                        font-size: 14px;
                        outline: none;
                    }
                }

                .edit-user {
                    width: 88px;
                    height: 30px;
                    // padding: 8px 12px 8px 12px;
                    border: 1px solid #33cabb;
                    background-color: #33cabb;
                    color: #fff;
                    letter-spacing: 1px;
                    border-radius: 2px;
                    text-align: center;
                    line-height: 30px;
                }
            }

        }
    }

    //  个人中心 结束    
}